package com.vegetable.modules.entity.dashboard;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 缺货明细数据VO
 *
 * @author qoder
 * @since 2024-01-01
 */
@Data
@ApiModel(value = "ShortageDetailVO", description = "缺货明细数据")
public class ShortageDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "规格名称")
    private String specsName;

    @ApiModelProperty(value = "计划数量")
    private Integer plannedQuantity;

    @ApiModelProperty(value = "实际数量")
    private Integer actualQuantity;

    @ApiModelProperty(value = "缺货数量")
    private Integer shortageQuantity;

    @ApiModelProperty(value = "缺货率(%)")
    private BigDecimal shortageRate;

    @ApiModelProperty(value = "订单时间")
    private LocalDateTime orderTime;

}